<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Pod::Usage - extracts POD documentation and shows usage information - Perldoc Browser</title>
    <link rel="search" href="https://perldoc.perl.org/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser">
    <link rel="canonical" href="https://perldoc.perl.org/Pod::Usage">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" />
    <style>
      body {
        background: #f4f4f5;
        color: #020202;
      }
      .navbar-dark {
        background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0);
        background-repeat: repeat-x;
      }
      .navbar-dark .navbar-nav .nav-link,
      .navbar-dark .navbar-nav .nav-link:focus { color: #fff }
      .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 }
      #wrapperlicious {
        margin: 0 auto;
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
        font-weight: normal;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
      #wrapperlicious h1 { font-size: 1.5em }
      #wrapperlicious h2 { font-size: 1.3em }
      #wrapperlicious h3 { font-size: 1.1em }
      #wrapperlicious h4 { font-size: 0.9em }
      #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3,
      #wrapperlicious h4, #wrapperlicious dt {
        color: #020202;
        margin-top: 1em;
        margin-bottom: 1em;
        position: relative;
        font-weight: bold;
      }
      #wrapperlicious a { color: inherit; text-decoration: underline }
      #wrapperlicious #toc { text-decoration: none }
      #wrapperlicious a:hover { color: #2a2a2a }
      #wrapperlicious a img { border: 0 }
      #wrapperlicious :not(pre) > code {
        color: inherit;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        padding: 0.3em;
      }
      #wrapperlicious dd {
        margin: 0;
        margin-left: 2em;
      }
      #wrapperlicious dt {
        color: #2a2a2a;
        font-weight: bold;
        margin-left: 0.9em;
      }
      #wrapperlicious p {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious li > p {
        margin-bottom: 0;
        margin-top: 0;
      }
      #wrapperlicious pre {
        border: 1px solid #c1c1c1;
        border-radius: 3px;
        font: 100% Consolas, Menlo, Monaco, monospace;
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious pre > code {
        display: block;
        background-color: #f6f6f6;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        line-height: 1.5em;
        text-align: left;
        white-space: pre;
        padding: 1em;
      }
      #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious ul {
        list-style-type: square;
      }
      #wrapperlicious ul ul {
        margin-bottom: 0px;
        margin-top: 0px;
      }
      #footer {
        font-size: 0.8em;
        padding-top: 0.5em;
        text-align: center;
      }
      #more {
        display: inline;
        font-size: 0.8em;
      }
      #perldocdiv {
        background-color: #fff;
        border: 1px solid #c1c1c1;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        padding: 3em;
        padding-top: 1em;
        max-width: 960px;
      }
      #moduleversion { float: right }
      #wrapperlicious .leading-notice {
        font-style: italic;
        padding-left: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
      }
      #wrapperlicious .permalink {
        display: none;
        left: -0.75em;
        position: absolute;
        padding-right: 0.25em;
        text-decoration: none;
      }
      #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink,
      #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink,
      #wrapperlicious dt:hover .permalink {
        display: block;
      }
    </style>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-KVNWBNT5FB');
      gtag('config', 'UA-50555-3');
    </script>
  </head>
  <body>
    <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="navbar-brand" href="https://perldoc.perl.org/">Perldoc Browser</a>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Pod::Usage.html#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.35.0</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-stable">
          <a class="dropdown-item" href="https://perldoc.perl.org/Pod::Usage">Latest</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.2/Pod::Usage">5.38.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.1/Pod::Usage">5.38.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0/Pod::Usage">5.38.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.3/Pod::Usage">5.36.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.2/Pod::Usage">5.36.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.1/Pod::Usage">5.36.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.0/Pod::Usage">5.36.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.3/Pod::Usage">5.34.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.2/Pod::Usage">5.34.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.1/Pod::Usage">5.34.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.0/Pod::Usage">5.34.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.1/Pod::Usage">5.32.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.0/Pod::Usage">5.32.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.3/Pod::Usage">5.30.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.2/Pod::Usage">5.30.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.1/Pod::Usage">5.30.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.0/Pod::Usage">5.30.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.3/Pod::Usage">5.28.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.2/Pod::Usage">5.28.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.1/Pod::Usage">5.28.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.0/Pod::Usage">5.28.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.3/Pod::Usage">5.26.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.2/Pod::Usage">5.26.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.1/Pod::Usage">5.26.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.0/Pod::Usage">5.26.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.4/Pod::Usage">5.24.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.3/Pod::Usage">5.24.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.2/Pod::Usage">5.24.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.1/Pod::Usage">5.24.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.0/Pod::Usage">5.24.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.4/Pod::Usage">5.22.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.3/Pod::Usage">5.22.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.2/Pod::Usage">5.22.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.1/Pod::Usage">5.22.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.0/Pod::Usage">5.22.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.3/Pod::Usage">5.20.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.2/Pod::Usage">5.20.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.1/Pod::Usage">5.20.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.0/Pod::Usage">5.20.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.4/Pod::Usage">5.18.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.3/Pod::Usage">5.18.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.2/Pod::Usage">5.18.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.1/Pod::Usage">5.18.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.0/Pod::Usage">5.18.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.3/Pod::Usage">5.16.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.2/Pod::Usage">5.16.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.1/Pod::Usage">5.16.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.0/Pod::Usage">5.16.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.4/Pod::Usage">5.14.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.3/Pod::Usage">5.14.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.2/Pod::Usage">5.14.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.1/Pod::Usage">5.14.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.0/Pod::Usage">5.14.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.5/Pod::Usage">5.12.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.4/Pod::Usage">5.12.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.3/Pod::Usage">5.12.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.2/Pod::Usage">5.12.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.1/Pod::Usage">5.12.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.0/Pod::Usage">5.12.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.1/Pod::Usage">5.10.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.0/Pod::Usage">5.10.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.9/Pod::Usage">5.8.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.8/Pod::Usage">5.8.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.7/Pod::Usage">5.8.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.6/Pod::Usage">5.8.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.5/Pod::Usage">5.8.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.4/Pod::Usage">5.8.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.3/Pod::Usage">5.8.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.2/Pod::Usage">5.8.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.1/Pod::Usage">5.8.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.0/Pod::Usage">5.8.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.2/Pod::Usage">5.6.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.1/Pod::Usage">5.6.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.0/Pod::Usage">5.6.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_04/Pod::Usage">5.005_04</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_03/Pod::Usage">5.005_03</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_02/Pod::Usage">5.005_02</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_01/Pod::Usage">5.005_01</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005/Pod::Usage">5.005</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Pod::Usage.html#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-dev">
          <a class="dropdown-item" href="https://perldoc.perl.org/blead/Pod::Usage">blead</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.6/Pod::Usage">5.39.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.5/Pod::Usage">5.39.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.4/Pod::Usage">5.39.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.3/Pod::Usage">5.39.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.2/Pod::Usage">5.39.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.1/Pod::Usage">5.39.1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC2/Pod::Usage">5.38.0-RC2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC1/Pod::Usage">5.38.0-RC1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.11/Pod::Usage">5.37.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.10/Pod::Usage">5.37.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.9/Pod::Usage">5.37.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.8/Pod::Usage">5.37.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.7/Pod::Usage">5.37.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.6/Pod::Usage">5.37.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.5/Pod::Usage">5.37.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.4/Pod::Usage">5.37.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.3/Pod::Usage">5.37.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.2/Pod::Usage">5.37.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.1/Pod::Usage">5.37.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.0/Pod::Usage">5.37.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.11/Pod::Usage">5.35.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.10/Pod::Usage">5.35.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.9/Pod::Usage">5.35.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.8/Pod::Usage">5.35.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.7/Pod::Usage">5.35.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.6/Pod::Usage">5.35.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.5/Pod::Usage">5.35.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.4/Pod::Usage">5.35.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.3/Pod::Usage">5.35.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.2/Pod::Usage">5.35.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.1/Pod::Usage">5.35.1</a>
          <a class="dropdown-item active" href="./Pod::Usage.html">5.35.0</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="./Pod::Usage.html#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-nav">
          <a class="dropdown-item" href="perl.html">Perl</a>
          <a class="dropdown-item" href="perlintro.html">Intro</a>
          <a class="dropdown-item" href="perl.html#Tutorials">Tutorials</a>
          <a class="dropdown-item" href="perlfaq.html">FAQs</a>
          <a class="dropdown-item" href="perl.html#Reference-Manual">Reference</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlop.html">Operators</a>
          <a class="dropdown-item" href="functions.html">Functions</a>
          <a class="dropdown-item" href="variables.html">Variables</a>
          <a class="dropdown-item" href="modules.html">Modules</a>
          <a class="dropdown-item" href="perlutil.html">Utilities</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlcommunity.html">Community</a>
          <a class="dropdown-item" href="perlhist.html">History</a>
        </div>
      </li>
    </ul>
    <ul class="navbar-nav">
      <script>
        function set_expand (expand) {
          var perldocdiv = document.getElementById('perldocdiv');
          var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width');
          var expanded = (width == '' || width == 'none') ? true : false;
          if (expand === null) {
            expand = !expanded;
          }
          if ((expand && !expanded) || (!expand && expanded)) {
            perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px');
            var button_classlist = document.getElementById('content-expand-button').classList;
            if (expand) {
              button_classlist.add('btn-light');
              button_classlist.remove('btn-outline-light');
            } else {
              button_classlist.add('btn-outline-light');
              button_classlist.remove('btn-light');
            }
          }
          return expand;
        }
        function toggle_expand () {
          var expand = set_expand(null);
          document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC';
        }
        function read_expand () {
          return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 });
        }
        if (document.readyState === 'loading') {
          document.addEventListener('DOMContentLoaded', function () {
            if (read_expand()) {
              set_expand(true);
            }
          });
        } else if (read_expand()) {
          set_expand(true);
        }
      </script>
      <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
    <ul>
    <form class="form-inline" method="get" action="https://perldoc.perl.org/5.35.0/search">
      <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search">
    </form>
  </div>
</nav>

    <div id="wrapperlicious" class="container-fluid">
      <div id="perldocdiv">
        <div id="links">
          <a href="./Pod::Usage.html">Pod::Usage</a>
          <div id="more">
            (<a href="./Pod::Usage.txt">source</a>,
            <a href="https://metacpan.org/pod/Pod::Usage">CPAN</a>)
          </div>
            <div id="moduleversion">version 2.01</div>
        </div>
        <div class="leading-notice">
          You are viewing the version of this documentation from Perl 5.35.0.
            This is a development version of Perl.
        </div>
        <h1><a id="toc">CONTENTS</a></h1>
                  <ul>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#NAME">NAME</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#SYNOPSIS">SYNOPSIS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#ARGUMENTS">ARGUMENTS</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#Formatting-base-class">Formatting base class</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#Pass-through-options">Pass-through options</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#DESCRIPTION">DESCRIPTION</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#Scripts">Scripts</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#EXAMPLES">EXAMPLES</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#Recommended-Use">Recommended Use</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#CAVEATS">CAVEATS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#SUPPORT">SUPPORT</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#AUTHOR">AUTHOR</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#LICENSE">LICENSE</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#ACKNOWLEDGMENTS">ACKNOWLEDGMENTS</a>
              </li>
              <li>
                <a class="text-decoration-none" href="./Pod::Usage.html#SEE-ALSO">SEE ALSO</a>
              </li>
          </ul>

      <h1 id="NAME"><a class="permalink" href="./Pod::Usage.html#NAME">#</a>NAME</h1>

<p>Pod::Usage - extracts POD documentation and shows usage information</p>

<h1 id="SYNOPSIS"><a class="permalink" href="./Pod::Usage.html#SYNOPSIS">#</a>SYNOPSIS</h1>

<pre><code>use Pod::Usage;

my $message_text  = &quot;This text precedes the usage message.&quot;;
my $exit_status   = 2;          ## The exit status to use
my $verbose_level = 0;          ## The verbose level to use
my $filehandle    = \*STDERR;   ## The filehandle to write to

pod2usage($message_text);

pod2usage($exit_status);

pod2usage( { -message =&gt; $message_text ,
             -exitval =&gt; $exit_status  ,
             -verbose =&gt; $verbose_level,
             -output  =&gt; $filehandle } );

pod2usage(   -msg     =&gt; $message_text ,
             -exitval =&gt; $exit_status  ,
             -verbose =&gt; $verbose_level,
             -output  =&gt; $filehandle );

pod2usage(   -verbose =&gt; 2,
             -noperldoc =&gt; 1  );

pod2usage(   -verbose =&gt; 2,
             -perlcmd =&gt; $path_to_perl,
             -perldoc =&gt; $path_to_perldoc,
             -perldocopt =&gt; $perldoc_options );</code></pre>

<h1 id="ARGUMENTS"><a class="permalink" href="./Pod::Usage.html#ARGUMENTS">#</a>ARGUMENTS</h1>

<p><b>pod2usage</b> should be given either a single argument, or a list of arguments corresponding to an associative array (a &quot;hash&quot;). When a single argument is given, it should correspond to exactly one of the following:</p>

<ul>

<li><p>A string containing the text of a message to print <i>before</i> printing the usage message</p>

</li>
<li><p>A numeric value corresponding to the desired exit status</p>

</li>
<li><p>A reference to a hash</p>

</li>
</ul>

<p>If more than one argument is given then the entire argument list is assumed to be a hash. If a hash is supplied (either as a reference or as a list) it should contain one or more elements with the following keys:</p>

<dl>

<dt id="-message-string"><a class="permalink" href="./Pod::Usage.html#-message-string">#</a><a id="message-string"></a><code>-message</code> <i>string</i></dt>
<dd>

</dd>
<dt id="-msg-string"><a class="permalink" href="./Pod::Usage.html#-msg-string">#</a><a id="msg-string"></a><code>-msg</code> <i>string</i></dt>
<dd>

<p>The text of a message to print immediately prior to printing the program&#39;s usage message.</p>

</dd>
<dt id="-exitval-value"><a class="permalink" href="./Pod::Usage.html#-exitval-value">#</a><a id="exitval-value"></a><code>-exitval</code> <i>value</i></dt>
<dd>

<p>The desired exit status to pass to the <b>exit()</b> function. This should be an integer, or else the string <code>NOEXIT</code> to indicate that control should simply be returned without terminating the invoking process.</p>

</dd>
<dt id="-verbose-value"><a class="permalink" href="./Pod::Usage.html#-verbose-value">#</a><a id="verbose-value"></a><code>-verbose</code> <i>value</i></dt>
<dd>

<p>The desired level of &quot;verboseness&quot; to use when printing the usage message. If the value is 0, then only the &quot;SYNOPSIS&quot; and/or &quot;USAGE&quot; sections of the pod documentation are printed. If the value is 1, then the &quot;SYNOPSIS&quot; and/or &quot;USAGE&quot; sections, along with any section entitled &quot;OPTIONS&quot;, &quot;ARGUMENTS&quot;, or &quot;OPTIONS AND ARGUMENTS&quot; is printed. If the corresponding value is 2 or more then the entire manpage is printed, using <a href="perldoc.html">perldoc</a> if available; otherwise <a href="./Pod::Text.html">Pod::Text</a> is used for the formatting. For better readability, the all-capital headings are downcased, e.g. <code>SYNOPSIS</code> =&gt; <code>Synopsis</code>.</p>

<p>The special verbosity level 99 requires to also specify the -sections parameter; then these sections are extracted and printed.</p>

</dd>
<dt id="-sections-spec"><a class="permalink" href="./Pod::Usage.html#-sections-spec">#</a><a id="sections-spec"></a><code>-sections</code> <i>spec</i></dt>
<dd>

<p>There are two ways to specify the selection. Either a string (scalar) representing a selection regexp for sections to be printed when -verbose is set to 99, e.g.</p>

<pre><code class="plaintext">&quot;NAME|SYNOPSIS|DESCRIPTION|VERSION&quot;</code></pre>

<p>With the above regexp all content following (and including) any of the given <code>=head1</code> headings will be shown. It is possible to restrict the output to particular subsections only, e.g.:</p>

<pre><code class="plaintext">&quot;DESCRIPTION/Algorithm&quot;</code></pre>

<p>This will output only the <code>=head2 Algorithm</code> heading and content within the <code>=head1 DESCRIPTION</code> section. The regexp binding is stronger than the section separator, such that e.g.:</p>

<pre><code class="plaintext">&quot;DESCRIPTION|OPTIONS|ENVIRONMENT/Caveats&quot;</code></pre>

<p>will print any <code>=head2 Caveats</code> section (only) within any of the three <code>=head1</code> sections.</p>

<p>Alternatively, an array reference of section specifications can be used:</p>

<pre><code>pod2usage(-verbose =&gt; 99, -sections =&gt; [
  qw(DESCRIPTION DESCRIPTION/Introduction) ] );</code></pre>

<p>This will print only the content of <code>=head1 DESCRIPTION</code> and the <code>=head2 Introduction</code> sections, but no other <code>=head2</code>, and no other <code>=head1</code> either.</p>

</dd>
<dt id="-output-handle"><a class="permalink" href="./Pod::Usage.html#-output-handle">#</a><a id="output-handle"></a><code>-output</code> <i>handle</i></dt>
<dd>

<p>A reference to a filehandle, or the pathname of a file to which the usage message should be written. The default is <code>\*STDERR</code> unless the exit value is less than 2 (in which case the default is <code>\*STDOUT</code>).</p>

</dd>
<dt id="-input-handle"><a class="permalink" href="./Pod::Usage.html#-input-handle">#</a><a id="input-handle"></a><code>-input</code> <i>handle</i></dt>
<dd>

<p>A reference to a filehandle, or the pathname of a file from which the invoking script&#39;s pod documentation should be read. It defaults to the file indicated by <code>$0</code> (<code>$PROGRAM_NAME</code> for users of <i>English.pm</i>).</p>

<p>If you are calling <b>pod2usage()</b> from a module and want to display that module&#39;s POD, you can use this:</p>

<pre><code>use Pod::Find qw(pod_where);
pod2usage( -input =&gt; pod_where({-inc =&gt; 1}, __PACKAGE__) );</code></pre>

</dd>
<dt id="-pathlist-string"><a class="permalink" href="./Pod::Usage.html#-pathlist-string">#</a><a id="pathlist-string"></a><code>-pathlist</code> <i>string</i></dt>
<dd>

<p>A list of directory paths. If the input file does not exist, then it will be searched for in the given directory list (in the order the directories appear in the list). It defaults to the list of directories implied by <code>$ENV{PATH}</code>. The list may be specified either by a reference to an array, or by a string of directory paths which use the same path separator as <code>$ENV{PATH}</code> on your system (e.g., <code>:</code> for Unix, <code>;</code> for MSWin32 and DOS).</p>

</dd>
<dt id="-noperldoc"><a class="permalink" href="./Pod::Usage.html#-noperldoc">#</a><a id="noperldoc"></a><code>-noperldoc</code></dt>
<dd>

<p>By default, Pod::Usage will call <a href="perldoc.html">perldoc</a> when -verbose &gt;= 2 is specified. This does not work well e.g. if the script was packed with <a href="PAR.html">PAR</a>. This option suppresses the external call to <a href="perldoc.html">perldoc</a> and uses the simple text formatter (<a href="./Pod::Text.html">Pod::Text</a>) to output the POD.</p>

</dd>
<dt id="-perlcmd"><a class="permalink" href="./Pod::Usage.html#-perlcmd">#</a><a id="perlcmd"></a><code>-perlcmd</code></dt>
<dd>

<p>By default, Pod::Usage will call <a href="perldoc.html">perldoc</a> when -verbose &gt;= 2 is specified. In case of special or unusual Perl installations, this option may be used to supply the path to a <a href="perl.html">perl</a> executable which should run <a href="perldoc.html">perldoc</a>.</p>

</dd>
<dt id="-perldoc-path-to-perldoc"><a class="permalink" href="./Pod::Usage.html#-perldoc-path-to-perldoc">#</a><a id="perldoc-path-to-perldoc"></a><code>-perldoc</code> <i>path-to-perldoc</i></dt>
<dd>

<p>By default, Pod::Usage will call <a href="perldoc.html">perldoc</a> when -verbose &gt;= 2 is specified. In case <a href="perldoc.html">perldoc</a> is not installed where the <a href="perl.html">perl</a> interpreter thinks it is (see <a href="Config.html">Config</a>), the -perldoc option may be used to supply the correct path to <a href="perldoc.html">perldoc</a>.</p>

</dd>
<dt id="-perldocopt-string"><a class="permalink" href="./Pod::Usage.html#-perldocopt-string">#</a><a id="perldocopt-string"></a><code>-perldocopt</code> <i>string</i></dt>
<dd>

<p>By default, Pod::Usage will call <a href="perldoc.html">perldoc</a> when -verbose &gt;= 2 is specified. This option may be used to supply options to <a href="perldoc.html">perldoc</a>. The string may contain several, space-separated options.</p>

</dd>
</dl>

<h2 id="Formatting-base-class"><a class="permalink" href="./Pod::Usage.html#Formatting-base-class">#</a><a id="Formatting"></a>Formatting base class</h2>

<p>The default text formatter is <a href="./Pod::Text.html">Pod::Text</a>. The base class for Pod::Usage can be defined by pre-setting <code>$Pod::Usage::Formatter</code> <i>before</i> loading Pod::Usage, e.g.:</p>

<pre><code>BEGIN { $Pod::Usage::Formatter = &#39;Pod::Text::Termcap&#39;; }
use Pod::Usage qw(pod2usage);</code></pre>

<p>Pod::Usage uses <a href="./Pod::Simple.html">Pod::Simple</a>&#39;s _handle_element_end() method to implement the section selection, and in case of verbosity &lt; 2 it down-cases the all-caps headings to first capital letter and rest lowercase, and adds a colon/newline at the end of the headings, for better readability. Same for verbosity = 99.</p>

<h2 id="Pass-through-options"><a class="permalink" href="./Pod::Usage.html#Pass-through-options">#</a><a id="Pass"></a>Pass-through options</h2>

<p>The following options are passed through to the underlying text formatter. See the manual pages of these modules for more information.</p>

<pre><code class="plaintext">alt code indent loose margin quotes sentence stderr utf8 width</code></pre>

<h1 id="DESCRIPTION"><a class="permalink" href="./Pod::Usage.html#DESCRIPTION">#</a>DESCRIPTION</h1>

<p><b>pod2usage</b> will print a usage message for the invoking script (using its embedded pod documentation) and then exit the script with the desired exit status. The usage message printed may have any one of three levels of &quot;verboseness&quot;: If the verbose level is 0, then only a synopsis is printed. If the verbose level is 1, then the synopsis is printed along with a description (if present) of the command line options and arguments. If the verbose level is 2, then the entire manual page is printed.</p>

<p>Unless they are explicitly specified, the default values for the exit status, verbose level, and output stream to use are determined as follows:</p>

<ul>

<li><p>If neither the exit status nor the verbose level is specified, then the default is to use an exit status of 2 with a verbose level of 0.</p>

</li>
<li><p>If an exit status <i>is</i> specified but the verbose level is <i>not</i>, then the verbose level will default to 1 if the exit status is less than 2 and will default to 0 otherwise.</p>

</li>
<li><p>If an exit status is <i>not</i> specified but verbose level <i>is</i> given, then the exit status will default to 2 if the verbose level is 0 and will default to 1 otherwise.</p>

</li>
<li><p>If the exit status used is less than 2, then output is printed on <code>STDOUT</code>. Otherwise output is printed on <code>STDERR</code>.</p>

</li>
</ul>

<p>Although the above may seem a bit confusing at first, it generally does &quot;the right thing&quot; in most situations. This determination of the default values to use is based upon the following typical Unix conventions:</p>

<ul>

<li><p>An exit status of 0 implies &quot;success&quot;. For example, <b>diff(1)</b> exits with a status of 0 if the two files have the same contents.</p>

</li>
<li><p>An exit status of 1 implies possibly abnormal, but non-defective, program termination. For example, <b>grep(1)</b> exits with a status of 1 if it did <i>not</i> find a matching line for the given regular expression.</p>

</li>
<li><p>An exit status of 2 or more implies a fatal error. For example, <b>ls(1)</b> exits with a status of 2 if you specify an illegal (unknown) option on the command line.</p>

</li>
<li><p>Usage messages issued as a result of bad command-line syntax should go to <code>STDERR</code>. However, usage messages issued due to an explicit request to print usage (like specifying <b>-help</b> on the command line) should go to <code>STDOUT</code>, just in case the user wants to pipe the output to a pager (such as <b>more(1)</b>).</p>

</li>
<li><p>If program usage has been explicitly requested by the user, it is often desirable to exit with a status of 1 (as opposed to 0) after issuing the user-requested usage message. It is also desirable to give a more verbose description of program usage in this case.</p>

</li>
</ul>

<p><b>pod2usage</b> does not force the above conventions upon you, but it will use them by default if you don&#39;t expressly tell it to do otherwise. The ability of <b>pod2usage()</b> to accept a single number or a string makes it convenient to use as an innocent looking error message handling function:</p>

<pre><code>use strict;
use Pod::Usage;
use Getopt::Long;

## Parse options
my %opt;
GetOptions(\%opt, &quot;help|?&quot;, &quot;man&quot;, &quot;flag1&quot;)  ||  pod2usage(2);
pod2usage(1)  if ($opt{help});
pod2usage(-exitval =&gt; 0, -verbose =&gt; 2)  if ($opt{man});

## Check for too many filenames
pod2usage(&quot;$0: Too many files given.\n&quot;)  if (@ARGV &gt; 1);</code></pre>

<p>Some user&#39;s however may feel that the above &quot;economy of expression&quot; is not particularly readable nor consistent and may instead choose to do something more like the following:</p>

<pre><code>use strict;
use Pod::Usage qw(pod2usage);
use Getopt::Long qw(GetOptions);

## Parse options
my %opt;
GetOptions(\%opt, &quot;help|?&quot;, &quot;man&quot;, &quot;flag1&quot;)  ||
  pod2usage(-verbose =&gt; 0);

pod2usage(-verbose =&gt; 1)  if ($opt{help});
pod2usage(-verbose =&gt; 2)  if ($opt{man});

## Check for too many filenames
pod2usage(-verbose =&gt; 2, -message =&gt; &quot;$0: Too many files given.\n&quot;)
  if (@ARGV &gt; 1);</code></pre>

<p>As with all things in Perl, <i>there&#39;s more than one way to do it</i>, and <b>pod2usage()</b> adheres to this philosophy. If you are interested in seeing a number of different ways to invoke <b>pod2usage</b> (although by no means exhaustive), please refer to <a href="./Pod::Usage.html#EXAMPLES">&quot;EXAMPLES&quot;</a>.</p>

<h2 id="Scripts"><a class="permalink" href="./Pod::Usage.html#Scripts">#</a>Scripts</h2>

<p>The Pod::Usage distribution comes with a script pod2usage which offers a command line interface to the functionality of Pod::Usage. See <a href="pod2usage.html">pod2usage</a>.</p>

<h1 id="EXAMPLES"><a class="permalink" href="./Pod::Usage.html#EXAMPLES">#</a>EXAMPLES</h1>

<p>Each of the following invocations of <code>pod2usage()</code> will print just the &quot;SYNOPSIS&quot; section to <code>STDERR</code> and will exit with a status of 2:</p>

<pre><code>pod2usage();

pod2usage(2);

pod2usage(-verbose =&gt; 0);

pod2usage(-exitval =&gt; 2);

pod2usage({-exitval =&gt; 2, -output =&gt; \*STDERR});

pod2usage({-verbose =&gt; 0, -output  =&gt; \*STDERR});

pod2usage(-exitval =&gt; 2, -verbose =&gt; 0);

pod2usage(-exitval =&gt; 2, -verbose =&gt; 0, -output =&gt; \*STDERR);</code></pre>

<p>Each of the following invocations of <code>pod2usage()</code> will print a message of &quot;Syntax error.&quot; (followed by a newline) to <code>STDERR</code>, immediately followed by just the &quot;SYNOPSIS&quot; section (also printed to <code>STDERR</code>) and will exit with a status of 2:</p>

<pre><code>pod2usage(&quot;Syntax error.&quot;);

pod2usage(-message =&gt; &quot;Syntax error.&quot;, -verbose =&gt; 0);

pod2usage(-msg  =&gt; &quot;Syntax error.&quot;, -exitval =&gt; 2);

pod2usage({-msg =&gt; &quot;Syntax error.&quot;, -exitval =&gt; 2, -output =&gt; \*STDERR});

pod2usage({-msg =&gt; &quot;Syntax error.&quot;, -verbose =&gt; 0, -output =&gt; \*STDERR});

pod2usage(-msg  =&gt; &quot;Syntax error.&quot;, -exitval =&gt; 2, -verbose =&gt; 0);

pod2usage(-message =&gt; &quot;Syntax error.&quot;,
          -exitval =&gt; 2,
          -verbose =&gt; 0,
          -output  =&gt; \*STDERR);</code></pre>

<p>Each of the following invocations of <code>pod2usage()</code> will print the &quot;SYNOPSIS&quot; section and any &quot;OPTIONS&quot; and/or &quot;ARGUMENTS&quot; sections to <code>STDOUT</code> and will exit with a status of 1:</p>

<pre><code>pod2usage(1);

pod2usage(-verbose =&gt; 1);

pod2usage(-exitval =&gt; 1);

pod2usage({-exitval =&gt; 1, -output =&gt; \*STDOUT});

pod2usage({-verbose =&gt; 1, -output =&gt; \*STDOUT});

pod2usage(-exitval =&gt; 1, -verbose =&gt; 1);

pod2usage(-exitval =&gt; 1, -verbose =&gt; 1, -output =&gt; \*STDOUT});</code></pre>

<p>Each of the following invocations of <code>pod2usage()</code> will print the entire manual page to <code>STDOUT</code> and will exit with a status of 1:</p>

<pre><code>pod2usage(-verbose  =&gt; 2);

pod2usage({-verbose =&gt; 2, -output =&gt; \*STDOUT});

pod2usage(-exitval  =&gt; 1, -verbose =&gt; 2);

pod2usage({-exitval =&gt; 1, -verbose =&gt; 2, -output =&gt; \*STDOUT});</code></pre>

<h2 id="Recommended-Use"><a class="permalink" href="./Pod::Usage.html#Recommended-Use">#</a><a id="Recommended"></a>Recommended Use</h2>

<p>Most scripts should print some type of usage message to <code>STDERR</code> when a command line syntax error is detected. They should also provide an option (usually <code>-H</code> or <code>-help</code>) to print a (possibly more verbose) usage message to <code>STDOUT</code>. Some scripts may even wish to go so far as to provide a means of printing their complete documentation to <code>STDOUT</code> (perhaps by allowing a <code>-man</code> option). The following complete example uses <b>Pod::Usage</b> in combination with <b>Getopt::Long</b> to do all of these things:</p>

<pre><code>use strict;
use Getopt::Long qw(GetOptions);
use Pod::Usage qw(pod2usage);

my $man = 0;
my $help = 0;
## Parse options and print usage if there is a syntax error,
## or if usage was explicitly requested.
GetOptions(&#39;help|?&#39; =&gt; \$help, man =&gt; \$man) or pod2usage(2);
pod2usage(1) if $help;
pod2usage(-verbose =&gt; 2) if $man;

## If no arguments were given, then allow STDIN to be used only
## if it&#39;s not connected to a terminal (otherwise print usage)
pod2usage(&quot;$0: No files given.&quot;)  if ((@ARGV == 0) &amp;&amp; (-t STDIN));

__END__

=head1 NAME

sample - Using GetOpt::Long and Pod::Usage

=head1 SYNOPSIS

sample [options] [file ...]

 Options:
   -help            brief help message
   -man             full documentation

=head1 OPTIONS

=over 4

=item B&lt;-help&gt;

Print a brief help message and exits.

=item B&lt;-man&gt;

Prints the manual page and exits.

=back

=head1 DESCRIPTION

B&lt;This program&gt; will read the given input file(s) and do something
useful with the contents thereof.

=cut</code></pre>

<h1 id="CAVEATS"><a class="permalink" href="./Pod::Usage.html#CAVEATS">#</a>CAVEATS</h1>

<p>By default, <b>pod2usage()</b> will use <code>$0</code> as the path to the pod input file. Unfortunately, not all systems on which Perl runs will set <code>$0</code> properly (although if <code>$0</code> is not found, <b>pod2usage()</b> will search <code>$ENV{PATH}</code> or else the list specified by the <code>-pathlist</code> option). If this is the case for your system, you may need to explicitly specify the path to the pod docs for the invoking script using something similar to the following:</p>

<pre><code>pod2usage(-exitval =&gt; 2, -input =&gt; &quot;/path/to/your/pod/docs&quot;);</code></pre>

<p>In the pathological case that a script is called via a relative path <i>and</i> the script itself changes the current working directory (see <a href="perlfunc.html#chdir">&quot;chdir&quot; in perlfunc</a>) <i>before</i> calling pod2usage, Pod::Usage will fail even on robust platforms. Don&#39;t do that. Or use <a href="FindBin.html">FindBin</a> to locate the script:</p>

<pre><code>use FindBin;
pod2usage(-input =&gt; $FindBin::Bin . &quot;/&quot; . $FindBin::Script);</code></pre>

<h1 id="SUPPORT"><a class="permalink" href="./Pod::Usage.html#SUPPORT">#</a>SUPPORT</h1>

<p>This module is managed in a GitHub repository, <a href="https://github.com/Dual-Life/Pod-Usage">https://github.com/Dual-Life/Pod-Usage</a> Feel free to fork and contribute, or to clone and send patches!</p>

<p>Please use <a href="https://github.com/Dual-Life/Pod-Usage/issues/new">https://github.com/Dual-Life/Pod-Usage/issues/new</a> to file a bug report. The previous ticketing system, <a href="https://rt.cpan.org/Dist/Display.html?Queue=Pod-Usage">https://rt.cpan.org/Dist/Display.html?Queue=Pod-Usage</a>, is deprecated for this package.</p>

<p>More general questions or discussion about POD should be sent to the <code>pod-people@perl.org</code> mail list. Send an empty email to <code>pod-people-subscribe@perl.org</code> to subscribe.</p>

<h1 id="AUTHOR"><a class="permalink" href="./Pod::Usage.html#AUTHOR">#</a>AUTHOR</h1>

<p>Marek Rouchal &lt;marekr@cpan.org&gt;</p>

<p>Nicolas R &lt;nicolas@atoomic.org&gt;</p>

<p>Brad Appleton &lt;bradapp@enteract.com&gt;</p>

<p>Based on code for <b>Pod::Text::pod2text()</b> written by Tom Christiansen &lt;tchrist@mox.perl.com&gt;</p>

<h1 id="LICENSE"><a class="permalink" href="./Pod::Usage.html#LICENSE">#</a>LICENSE</h1>

<p>Pod::Usage (the distribution) is licensed under the same terms as Perl.</p>

<h1 id="ACKNOWLEDGMENTS"><a class="permalink" href="./Pod::Usage.html#ACKNOWLEDGMENTS">#</a>ACKNOWLEDGMENTS</h1>

<p>Nicolas R (ATOOMIC) for setting up the Github repo and modernizing this package.</p>

<p>rjbs for refactoring Pod::Usage to not use Pod::Parser any more.</p>

<p>Steven McDougall &lt;swmcd@world.std.com&gt; for his help and patience with re-writing this manpage.</p>

<h1 id="SEE-ALSO"><a class="permalink" href="./Pod::Usage.html#SEE-ALSO">#</a><a id="SEE"></a>SEE ALSO</h1>

<p><b>Pod::Usage</b> is now a standalone distribution, depending on <a href="./Pod::Text.html">Pod::Text</a> which in turn depends on <a href="./Pod::Simple.html">Pod::Simple</a>.</p>

<p><a href="./Pod::Perldoc.html">Pod::Perldoc</a>, <a href="./Getopt::Long.html">Getopt::Long</a>, <a href="./Pod::Find.html">Pod::Find</a>, <a href="FindBin.html">FindBin</a>, <a href="./Pod::Text.html">Pod::Text</a>, <a href="./Pod::Text::Termcap.html">Pod::Text::Termcap</a>, <a href="./Pod::Simple.html">Pod::Simple</a></p>


      </div>
      <div id="footer">
        <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p>

<p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p>


      </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
    <script src="../highlight.pack.js"></script>
    <script>hljs.highlightAll();</script>
  </body>
</html>
